package org.example;

import javax.swing.*;
import java.awt.*;

public class MidPanel extends JPanel {

    private JLabel msgLab;

    public MidPanel(){
        this.setBackground(Color.WHITE);
        this.setBorder(BorderFactory.createTitledBorder(BorderFactory.createLineBorder(Color.BLUE,3),"Hint"));

        this.setLayout(null);
        this.msgLab = new JLabel("Let's Play HiLo");
        this.msgLab.setBounds(100,35,200,25);
        this.add(this.msgLab);

    }

    public JLabel getMsgLab() {
        return msgLab;
    }

    public void setMsgLab(JLabel msgLab) {
        this.msgLab = msgLab;
    }
}
